package com.hzeport.bgs22emduty.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzeport.bgs22emduty.dto.ScreenCheckDTO;
import com.hzeport.bgs22emduty.dto.ScreenCheckSaveDTO;
import com.hzeport.bgs22emduty.dto.screenCheck.ScreenCheckDeleteDTO;
import com.hzeport.bgs22emduty.dto.screenCheck.ScreenCheckDetailShowVO;
import com.hzeport.bgs22emduty.dto.screenCheck.ScreenCheckTopicSaveDTO;
import com.hzeport.bgs22emduty.entity.ScreenCheck;
import com.hzeport.bgs22emduty.entity.ScreenCheckTopic;
import com.hzeport.bgs22emduty.common.base.BaseService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * ${comments}
 *
 * @author code generator
 * @date 2023-02-14 09:39:44
 */
public interface ScreenDutyCheckService extends BaseService<ScreenCheck> {

    Page<ScreenCheckDetailShowVO> page(ScreenCheckDTO screenDutyMessage);


    Object update(JSONObject screenDutyMessage) throws Exception;

    Object saveTwo(ScreenCheckSaveDTO screenCheckSaveDTO, HttpServletRequest request) throws Exception;

    Object getNextCustoms(String type, String customId);

    List<ScreenCheckTopic> questionList();

    void questionsSave(ScreenCheckTopicSaveDTO screenCheckTopicSaveDTO);

    Object delete(ScreenCheckDeleteDTO screenCheckDeleteDTO);

    Object getThisCustomResult(String customId);
}
